package day7;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

/**
 * @author oldliu
 * @since 1.0
 */
public class FileWrite1 {
    public static void main(String[] args) {
        try {
            OutputStream out=new FileOutputStream("E:\\temp\\java79\\第一小组\\名单.txt",true);
            out.write('\n');
            out.write("自助者，天助之".getBytes());
            out.write(65);
            out.write(97);
            out.write(98);
            //out.write(10000);
            out.write("香港回归25周年".getBytes());
            out.flush();
            out.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
